package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile    string `gorm:"type:varchar(11);not null"`
	Password  string `gorm:"type:varchar(32);not null"`
	HeadImage string `gorm:"type:varchar(500);not null"`
	Address   string `gorm:"type:varchar(500);not null"`
}

type Pyq struct {
	gorm.Model
	Title string `gorm:"type:varchar(30);not null"`
	Text  string `gorm:"type:varchar(100);not null"`
}
